home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
comm
/
faxhvn20.zip
/
C2SEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-03-14
|
2KB
|
48 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1995 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: C2SEND.bat */
REM DESCRIPTION : This batch file invokes the HQFSEND.exe program */
REM to send a FAX plus an optional cover sheet */
REM This file will pass the Class 2 switch to */
REM HQFSEND.exe plus user supplied options */
REM */
REM Invocation: Call C2SEND.bat [X] Filename Phoneno options ... */
REM X is a 1-byte # to indicate Cover(1) Doc(2) or both(3)*/
REM */
REM *********************************************************************/
REM
if %1 == 1 goto Covrsolo
if %1 == 2 goto Docsolo
if %1 == 3 goto CovrwDoc
REM %1 isn't 1,2, or 3 - must be a file name
CLS
Echo Sending Document %1 w/out cover letter to %2
HQFSEND.exe /FC2 /PN%2 %3 %4 %5 %6 %7 %8 %9 %1.APF
goto quit
:Covrsolo
CLS
Echo Sending Cover letter solo to %3
HQFSEND.exe /FC2 /PN%3 %4 %5 %6 %7 %8 %9 Covrletr.APF
goto quit
:Docsolo
CLS
Echo Sending Document %2 w/out cover letter to %3
HQFSEND.exe /FC2 /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
goto quit
:CovrwDoc
CLS
Echo Sending Document "%2" with cover letter to %3
HQFSEND.exe /CVcovrletr.apf /FC2 /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
:quit